package com.ruoyi.ufox.domain;

import java.math.BigDecimal;
import java.util.Date;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 数据月统计对象 bis_device_data_month
 * 
 * @author ufoxs
 * @date 2022-08-22
 */
public class BisDeviceDataMonth extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 记录ID */
    private Long recordId;

    /** 设备ID */
    private Long deviceId;

    /** 年月 */
    private java.util.Date yearMonth;

    /** 温度 */
    private BigDecimal temerature;

    /** 湿度 */
    private BigDecimal humidity;

    /** 光强 */
    private BigDecimal lightIntensity;

    /** 生长灯亮度 */
    private Long lighterValue;

    public String getDateTime() {
        return dateTime;
    }

    public void setDateTime(String dateTime) {
        this.dateTime = dateTime;
    }

    private String dateTime;

    public void setRecordId(Long recordId) 
    {
        this.recordId = recordId;
    }

    public Long getRecordId() 
    {
        return recordId;
    }
    public void setDeviceId(Long deviceId) 
    {
        this.deviceId = deviceId;
    }

    public Long getDeviceId() 
    {
        return deviceId;
    }
    public void setYearMonth(Date yearMonth)
    {
        this.yearMonth = yearMonth;
    }

    public Date getYearMonth()
    {
        return yearMonth;
    }

    public void setTemerature(BigDecimal temerature) 
    {
        this.temerature = temerature;
    }

    public BigDecimal getTemerature() 
    {
        return temerature;
    }
    public void setHumidity(BigDecimal humidity) 
    {
        this.humidity = humidity;
    }

    public BigDecimal getHumidity() 
    {
        return humidity;
    }
    public void setLightIntensity(BigDecimal lightIntensity) 
    {
        this.lightIntensity = lightIntensity;
    }

    public BigDecimal getLightIntensity() 
    {
        return lightIntensity;
    }
    public void setLighterValue(Long lighterValue) 
    {
        this.lighterValue = lighterValue;
    }

    public Long getLighterValue() 
    {
        return lighterValue;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("recordId", getRecordId())
            .append("deviceId", getDeviceId())
            .append("yearMonth", getYearMonth())
            .append("temerature", getTemerature())
            .append("humidity", getHumidity())
            .append("lightIntensity", getLightIntensity())
            .append("lighterValue", getLighterValue())
            .append("remark", getRemark())
            .toString();
    }
}
